//
//  LGDoorInfoViewController.h
//  ALS3.0
//
//  Created by guomianxiang on 2017/3/31.
//  Copyright © 2017年 guomianxiang. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "LGDoor.h"


typedef NS_OPTIONS(NSUInteger, DoorInfoActionType) {
    DoorInfoActionTypeSetFavorite = 0,
    DoorInfoActionTypeSetDislike = 1,
    DoorInfoActionTypeOpenDoor = 2,
};

@protocol LGDoorInfoViewControllerDelegate <NSObject>

@optional

- (void)doorInfoVCCommitActionType:(DoorInfoActionType)actionType withDoor:(LGDoor *)door;

@end


@interface LGDoorInfoViewController : UIViewController
@property (weak, nonatomic) id<LGDoorInfoViewControllerDelegate> delegate;
/**
 设置需要显示详细信息的LGDoor
 */
@property (strong, nonatomic) LGDoor *door;
@end
